package com.guigu.common.mapper;


import com.guigu.common.pojo.SCell;
import com.guigu.common.pojo.SGather;
import com.guigu.common.pojo.SGatherDetails;
import com.guigu.common.vo.SearchVo;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface SGatherMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SGather record);

    int insertSelective(SGather record);

    SGather selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SGather record);

    int updateByPrimaryKey(SGather record);

    List findDfileInDESIGN_CELL_TAG(SearchVo searchVo);

    int addGather(SGather sgather);


    List queryGatherToAudit(SearchVo searchVo);


    int changeSGather(SGather sGather);

    int changeSGatherNo(SGather s);

    List queryGatherAll(SearchVo searchVo);

    List findFormulateGather(SearchVo searchVo);

    SCell queryCellByProductId(String productid);

    List queryGatherSelective(SearchVo<SGather> searchVo);

    List queryEnterbankCheck(SearchVo searchVo);

    void updategathered_amount_sum(SGather sGather);


    int updatestore_tagByGatherId(SGather sgather);

    void insertGather(SGather sGather);

    void insertgatherDetails(SGatherDetails sGatherDetails);
}